package com.play.service;

import com.github.pagehelper.PageInfo;
import com.play.dto.PrescriptionDTO;
import com.play.entity.Prescription;

public interface IPrescriptionService {
	
	int addPrescription(Prescription prescription);
	
	int updatePrescription(Prescription prescription);
	
	Prescription selectPrescriptionByName(String name);
	
	Prescription selectPrescriptionById(Long id);
	
	PageInfo<PrescriptionDTO> selectPrescriptionList(int pageNum, int pageSize, String name, String description);

}
